<div class="modal" tabindex="-1" role="dialog" style="text-align: left;">
    <div class="modal-dialog" style="max-width: 700px;">
        <div class="modal-content">
            <div class="modal-header" ng-show="title">
                <button type="button" class="close" ng-click="$hide()">&times;</button>
                <h4 class="modal-title" ng-bind-html="title"></h4></div>
            <div class="modal-body">
                <div class="row hyc-line-height-30">
                    <div class="col-md-2 text-right">起点</div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <button type="button" class="btn btn-default admin-select select hyc-width" ng-change="loadDepartCityDlg()" ng-model="route.oProvinceCode" bs-options="p.code as p.name for p in loadProvince" bs-select placeholder="-选择省(必输)-">
                            </button>
                        </div>
                    </div>
                    <div class="col-md-2 text-right">起点区域</div>
                    <div class="col-md-4">
                        <input type="text" class="form-control hyc-color" maxlength="16" placeholder="起点区域(必输)" ng-model="route.oTag" ng-change="generateRouteName()">
                    </div>
                </div>
                <div class="row hyc-line-height-30">
                    <div class="col-md-2 text-right">
                        起点详细地址
                    </div>
                    <div class="col-md-10">
                        <div class="form-group">
                            <input type="text" class="form-control hyc-color" maxlength="80" placeholder="详细地址(可选)" ng-model="route.oAddr">
                        </div>
                    </div>
                </div>
                <div class="row hyc-line-height-30">
                    <div class="col-md-2 text-right">终点</div>
                    <div class="col-md-4">
                        <div class="form-group">
                            <button type="button" class="btn btn-default admin-select select hyc-width" ng-change="loadReceiptCityDlg()" ng-model="route.dProvinceCode" bs-options="p.code as p.name for p in loadProvince" bs-select placeholder="-选择省(必输)-">
                            </button>
                        </div>
                    </div>
                    <div class="col-md-2 text-right">终点区域</div>
                    <div class="col-md-4">
                        <input type="text" class="form-control hyc-color" maxlength="16" placeholder="终点区域(必输)" ng-model="route.dTag" ng-change="generateRouteName()">
                    </div>
                </div>
                <div class="row hyc-line-height-30">
                    <div class="col-md-2 text-right">
                        终点详细地址
                    </div>
                    <div class="col-md-10">
                        <div class="form-group">
                            <input type="text" class="form-control hyc-color" maxlength="80" placeholder="详细地址(可选)" ng-model="route.dAddr">
                        </div>
                    </div>
                </div>
                <div class="row hyc-line-height-30">
                    <div class="col-md-2 text-center">线路名称</div>
                    <div class="col-md-4">
                        <input type="text" class="form-control hyc-color" maxlength="16" placeholder="线路名称(必输)" ng-model="route.name">
                    </div>
                    <div class="col-md-6"></div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-sm btn-default" ng-click="$hide()">取消</button>
                <button type="button" class="btn btn-sm btn-warning" ng-click="saveRoute(false)">确认提交</button>
            </div>
        </div>
    </div>
</div>